package org.example.springtest.service;

import org.example.springtest.model.dto.user.LoginResponse;
import org.example.springtest.model.entity.User;

import java.util.List;
import java.util.Map;

public interface RedisService {
     void addUser(LoginResponse data, long time);
      Map<String,Object> get(String key);
      boolean delete( String key);
}
